package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author Koumiba
 * @since 2017-03-24
 */
@TableName("tb_member_app")
public class MemberApp extends Model<MemberApp> {

    private static final long serialVersionUID = 1L;
    /** 主键ID */
	@TableId
	private Long tbid;
    /**
     * 真实id
     */
	private Long realid;
    /**
     * 图标名称
     */
	private String name;
    /**
     * 图标图片
     */
	private String icon;
    /**
     * 应用地址
     */
	private String url;
    /**
     * 应用类型
     */
	private String type;
    /**
     * 窗口宽度
     */
	private Integer width;
    /**
     * 窗口高度
     */
	private Integer height;
    /**
     * 是否能对窗口进行拉伸
     */
	private Integer isresize;
    /**
     * 是否打开直接最大化
     */
	private Integer isopenmax;
    /**
     * 窗口是否有评分和介绍按钮
     */
	private Integer issetbar;
    /**
     * 是否为flash应用
     */
	private Integer isflash;
    /**
     * 扩展名
     */
	private String ext;
    /**
     * 文件大小
     */
	private Integer size;
    /**
     * 创建时间
     */
	private Date dt;
    /**
     * 最后修改时间
     */
	private Date lastdt;
    /**
     * 文件夹id
     */
	@TableField("folder_id")
	private Long folderId;
    /**
     * 用户id
     */
	@TableField("member_id")
	private Long memberId;


	public Long getTbid() {
		return tbid;
	}

	public void setTbid(Long tbid) {
		this.tbid = tbid;
	}

	public Long getRealid() {
		return realid;
	}

	public void setRealid(Long realid) {
		this.realid = realid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getWidth() {
		return width;
	}

	public void setWidth(Integer width) {
		this.width = width;
	}

	public Integer getHeight() {
		return height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	public Integer getIsresize() {
		return isresize;
	}

	public void setIsresize(Integer isresize) {
		this.isresize = isresize;
	}

	public Integer getIsopenmax() {
		return isopenmax;
	}

	public void setIsopenmax(Integer isopenmax) {
		this.isopenmax = isopenmax;
	}

	public Integer getIssetbar() {
		return issetbar;
	}

	public void setIssetbar(Integer issetbar) {
		this.issetbar = issetbar;
	}

	public Integer getIsflash() {
		return isflash;
	}

	public void setIsflash(Integer isflash) {
		this.isflash = isflash;
	}

	public String getExt() {
		return ext;
	}

	public void setExt(String ext) {
		this.ext = ext;
	}

	public Integer getSize() {
		return size;
	}

	public void setSize(Integer size) {
		this.size = size;
	}

	public Date getDt() {
		return dt;
	}

	public void setDt(Date dt) {
		this.dt = dt;
	}

	public Date getLastdt() {
		return lastdt;
	}

	public void setLastdt(Date lastdt) {
		this.lastdt = lastdt;
	}

	public Long getFolderId() {
		return folderId;
	}

	public void setFolderId(Long folderId) {
		this.folderId = folderId;
	}

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	@Override
	protected Serializable pkVal() {
		return this.tbid;
	}

}
